/*
 * clock.h
 *
 *  Created on: Apr 3, 2011
 *      Author: Vishal Verma
 */

#ifndef CLOCK_H_
#define CLOCK_H_

#define CLK_EM_MIN 0x58
#define CLK_EM_SEC 0x5B
#define CLK_EM_MSEC 0x5E
#define CLK_MIN 0x59
#define CLK_SEC 0x5C
#define CLK_MSEC 0x5F

#define ASCIIBASE 0x30

void clkInit(void);
void timerIsr(void);
void clkToggle();
void clkReset();
void dispUpdate(int min, int sec, int msec, int all);
void emToggle();

#endif /* CLOCK_H_ */
